package test;

import Dao.ManagerDao;
import Dao.ManagerDaoImpl;
import model.Student;

import java.sql.Date;

/**
 * @author cyt
 * @date 2020/8/15
 */
public class test {

    public static void main(String[] args) {
        ManagerDao managerDao = new ManagerDaoImpl();
//        PageInfo pageBean = new PageInfo(1,10);
//        System.out.println(managerDao.findAll(pageBean));
//        System.out.println(managerDao.size());
        Student student = new Student(1,null,"zz","女",new Date(new java.util.Date().getTime()),"mm","zz");
        managerDao.insert(student);
    }
}
